
def menu_1():
    while True:
        print("""
    ========登录界面=======
    1.注册  2.登录  3.退出
    ======================
    """)
        item = input("请输入选项：")
        if item == "1":
            menu_2()
        elif item == "2":
            pass
        elif item == "3":
            break
        else:
            print("请重新输入选项")

def menu_2():
    while True:
        print("""
    ==========登录界面========
    1.查单词  2.历史记录  3.注销
    =========================
    """)
        item = input("请输入选项：")
        if item == "1":
            pass
        elif item == "2":
            pass
        elif item == "3":
            break
        else:
            print("请重新输入选项")

if __name__ == '__main__':
    menu_1()